<!--
 * @Description: 
 * @Author: HYH
 * @LastEditors: HYH
 * @LastEditTime: 2023-02-14 09:59:24
-->
<script setup lang="ts">
const editRef = ref()
const state = reactive({
  activeName: 'first'
})
const getValue = () => {
  console.log(`editRef ==>`, editRef.value)
  console.log(editRef.value.content)
}
</script>
<template>
  <div class="py-5 px-5">
    <Editor ref="editRef" />
    <div><el-button @click="getValue">getValue</el-button></div>
  </div>
</template>
<style lang="scss" scoped></style>
